package com.example.authority.client;

import com.example.commons.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "video-service", configuration = FeignInterceptor.class)
public interface VideoClient {
    @DeleteMapping("/api/video/{id}")
    Result  deleteVideo(@PathVariable("id") Long id);
}
